You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Units Namespace > Classes > Math387 Class > Math387 Methods > Floor Method > Math387.Floor Method ([In] double)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Math387.Floor Method ([In] double)

Round towards negative infinity.

Syntax
C#
Visual Basic
public static long Floor([In] double X);

the biggest integer less than or equal to X. 

Floor(-2.8) = -3 

Floor(2.8) = 2 

Floor(-1.0) = -1  

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!